<template>
  <svg :class="['icon-svg', props.iconClass]" aria-hidden="true">
    <use :xlink:href="`#${props.iconHref}`"></use>
  </svg>
</template>

<script setup>
import { defineProps } from 'vue';

let props = defineProps({
  iconHref: String,
  iconClass: String
});
</script>
<style lang="less" scoped>
.icon-svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  overflow: hidden;
}
</style>
